<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
	<Source>
		<Name>florb</Name>
		<Homepage>http://florb.shugaa.de/</Homepage>
		<Packager>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Packager>
		<License>MIT</License>
		<IsA>app:gui</IsA>
		<PartOf>network.misc</PartOf>
		<Summary>A simple map viewer and GPX editor.</Summary>
		<Description>
			florb is a really simple map viewer and GPX editor written in C++ using the FLTK UI toolkit. florb makes it easy to create and edit tracks for planning short and extended trips into the wild green. Or anywhere else for that matter.
		</Description>
		<Archive sha1sum="074ee0eca20fd8977e659a8bf353e28028ef3107" type="zip">https://github.com/shugaa/florb/archive/85d2be7d851f83db8a289fd2018832aec295d526.zip</Archive>
		<Archive target="florb-85d2be7d851f83db8a289fd2018832aec295d526/src/res" sha1sum="0857fd36313ceeed06b19c3c37a121d34bd621ee" type="binary">https://github.com/pekdon/florb/raw/cmake_support/src/res/audio-input-microphone-ina.png</Archive>
		<BuildDependencies>
			<Dependency>cmake</Dependency>
			<Dependency>yaml-cpp</Dependency>
			<Dependency>curl-devel</Dependency>
			<Dependency>mesa-devel</Dependency>
			<Dependency>fltk-devel</Dependency>
			<Dependency>gpsd-devel</Dependency>
			<Dependency>boost-devel</Dependency>
			<Dependency>libX11-devel</Dependency>
			<Dependency>libXpm-devel</Dependency>
			<Dependency>libXres-devel</Dependency>
			<Dependency>tinyxml2-devel</Dependency>
			<Dependency>libxkbfile-devel</Dependency>
			<Dependency>libxkbcommon-devel</Dependency>
		</BuildDependencies>
		<Patches>
			<Patch level="1">support_building_with_cmake.patch</Patch>
			<Patch level="1">allow_startup_with_missing_config_file.patch</Patch>
			<Patch level="1">no_build_about_resources.patch</Patch>
		</Patches>
	</Source>

	<Package>
		<Name>florb</Name>
		<RuntimeDependencies>
			<Dependency>fltk</Dependency>
			<Dependency>curl</Dependency>
			<Dependency>gpsd</Dependency>
			<Dependency>boost</Dependency>
			<Dependency>libgcc</Dependency>
			<Dependency>libX11</Dependency>
			<Dependency>libXpm</Dependency>
			<Dependency>tinyxml2</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="executable">/usr/bin</Path>
			<Path fileType="data">/usr/share</Path>
			<!-- <Path fileType="localedata">/usr/share/locale</Path> -->
			<!-- <Path fileType="doc">/usr/share/doc</Path> -->
		</Files>
		<AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/florb.desktop">florb.desktop.in</AdditionalFile>
		</AdditionalFiles>
	</Package>

	<History>
		<Update release="4">
			<Date>2023-01-29</Date>
			<Version>1.1</Version>
			<Comment>Rebuild with libgps</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="3">
			<Date>2023-01-24</Date>
			<Version>1.1</Version>
			<Comment>Rebuild.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="2">
			<Date>2021-10-22</Date>
			<Version>1.1</Version>
			<Comment>Rebuild</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="1">
			<Date>2020-12-19</Date>
			<Version>1.1</Version>
			<Comment>First build from git (include patches from @pekdon).</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
	</History>
</PISI>
